#pragma once

#include "BulletScript\bsBulletScript.h"
#include "Battery.h"

namespace BulletScript
{
	public ref class BulletEmitter
	{
		bs::Emitter* mEmitter;

		bs::Machine* mMachine;

		bool mActive;

		bool mDisposed;

	private:

		std::string ConvertString(System::String^ str);

	public:

		BulletEmitter(bs::Machine* machine, System::String^ definition, float x, float y, float angle);

		~BulletEmitter();

		!BulletEmitter();

		void Activate();

		void Deactivate();

		bool isActive();

		void Update(float frameTime);
	};

}